[INFO] cloning repository https://github.com/fenil09/hello_Cargo
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/fenil09/hello_Cargo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffenil09%2Fhello_Cargo", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffenil09%2Fhello_Cargo'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] ddc07bc2a393590aba41430298152907bd7da958
[INFO] checking fenil09/hello_Cargo against try#b946edaa85de45f124065f52b1bc55ba2fb4f9fb for pr-157562
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffenil09%2Fhello_Cargo" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/fenil09/hello_Cargo
[INFO] finished tweaking git repo https://github.com/fenil09/hello_Cargo
[INFO] tweaked toml for git repo https://github.com/fenil09/hello_Cargo written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/fenil09/hello_Cargo on toolchain b946edaa85de45f124065f52b1bc55ba2fb4f9fb
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b946edaa85de45f124065f52b1bc55ba2fb4f9fb" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/fenil09/hello_Cargo already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b946edaa85de45f124065f52b1bc55ba2fb4f9fb" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3e793bdf10248eb2ddbd6b0faebed8155c11b4589982e2893733958d93e8d540" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] e24e0fbc1d16bede257362a1f1639fabfdc1a8d8e7551feb0bf216fbc42bc366
[INFO] running `Command { std: "docker" "start" "e24e0fbc1d16bede257362a1f1639fabfdc1a8d8e7551feb0bf216fbc42bc366", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "e24e0fbc1d16bede257362a1f1639fabfdc1a8d8e7551feb0bf216fbc42bc366" "/opt/rustwide/cargo-home/bin/cargo" "+b946edaa85de45f124065f52b1bc55ba2fb4f9fb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e24e0fbc1d16bede257362a1f1639fabfdc1a8d8e7551feb0bf216fbc42bc366", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "e24e0fbc1d16bede257362a1f1639fabfdc1a8d8e7551feb0bf216fbc42bc366" "/opt/rustwide/cargo-home/bin/cargo" "+b946edaa85de45f124065f52b1bc55ba2fb4f9fb" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]     Checking rand v0.5.6
[INFO] [stderr]     Checking hello_Cargo v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/bin/concepts.rs:62:7
[INFO] [stdout]    |
[INFO] [stdout] 62 |     if(counter == 0){
[INFO] [stdout]    |       ^            ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 62 -     if(counter == 0){
[INFO] [stdout] 62 +     if counter == 0 {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/bin/concepts.rs:76:6
[INFO] [stdout]    |
[INFO] [stdout] 76 |    if(i >= 10000){
[INFO] [stdout]    |      ^          ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 76 -    if(i >= 10000){
[INFO] [stdout] 76 +    if i >= 10000 {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `channelname`
[INFO] [stdout]   --> src/bin/concepts.rs:20:9
[INFO] [stdout]    |
[INFO] [stdout] 20 |    let (channelname, count) = tup;
[INFO] [stdout]    |         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_channelname`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `count`
[INFO] [stdout]   --> src/bin/concepts.rs:20:22
[INFO] [stdout]    |
[INFO] [stdout] 20 |    let (channelname, count) = tup;
[INFO] [stdout]    |                      ^^^^^ help: if this is intentional, prefix it with an underscore: `_count`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `error_codes`
[INFO] [stdout]   --> src/bin/concepts.rs:27:8
[INFO] [stdout]    |
[INFO] [stdout] 27 |    let error_codes = [10,44,55];
[INFO] [stdout]    |        ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_error_codes`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `customadd` is never used
[INFO] [stdout]   --> src/bin/concepts.rs:38:4
[INFO] [stdout]    |
[INFO] [stdout] 38 | fn customadd(x:i32,y:i32){
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `controlflow` is never used
[INFO] [stdout]   --> src/bin/concepts.rs:44:4
[INFO] [stdout]    |
[INFO] [stdout] 44 | fn controlflow(){
[INFO] [stdout]    |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `countdowncalcualtor` is never used
[INFO] [stdout]   --> src/bin/concepts.rs:56:4
[INFO] [stdout]    |
[INFO] [stdout] 56 | fn countdowncalcualtor(){
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/bin/concepts.rs:62:7
[INFO] [stdout]    |
[INFO] [stdout] 62 |     if(counter == 0){
[INFO] [stdout]    |       ^            ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 62 -     if(counter == 0){
[INFO] [stdout] 62 +     if counter == 0 {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/bin/concepts.rs:76:6
[INFO] [stdout]    |
[INFO] [stdout] 76 |    if(i >= 10000){
[INFO] [stdout]    |      ^          ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 76 -    if(i >= 10000){
[INFO] [stdout] 76 +    if i >= 10000 {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `counter` should have an upper case name
[INFO] [stdout]   --> src/bin/concepts.rs:13:9
[INFO] [stdout]    |
[INFO] [stdout] 13 |   const counter:u32 = 5000;
[INFO] [stdout]    |         ^^^^^^^ help: convert the identifier to upper case: `COUNTER`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ArrayAnalyzer` should have a snake case name
[INFO] [stdout]   --> src/bin/concepts.rs:72:4
[INFO] [stdout]    |
[INFO] [stdout] 72 | fn ArrayAnalyzer(){
[INFO] [stdout]    |    ^^^^^^^^^^^^^ help: convert the identifier to snake case: `array_analyzer`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Stdin`
[INFO] [stdout]  --> src/main.rs:2:21
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::io::{self, Stdin};
[INFO] [stdout]   |                     ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around method argument
[INFO] [stdout]  --> src/main.rs:7:55
[INFO] [stdout]   |
[INFO] [stdout] 7 |     let secret_number  = rand::thread_rng().gen_range((1), 101);
[INFO] [stdout]   |                                                       ^ ^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]   |
[INFO] [stdout] 7 -     let secret_number  = rand::thread_rng().gen_range((1), 101);
[INFO] [stdout] 7 +     let secret_number  = rand::thread_rng().gen_range(1, 101);
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s2`
[INFO] [stdout]  --> src/bin/Ownership.rs:5:7
[INFO] [stdout]   |
[INFO] [stdout] 5 |   let s2=s1;
[INFO] [stdout]   |       ^^ help: if this is intentional, prefix it with an underscore: `_s2`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s4`
[INFO] [stdout]   --> src/bin/Ownership.rs:27:5
[INFO] [stdout]    |
[INFO] [stdout] 27 | let s4=&s3;
[INFO] [stdout]    |     ^^ help: if this is intentional, prefix it with an underscore: `_s4`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `channelname`
[INFO] [stdout]   --> src/bin/concepts.rs:20:9
[INFO] [stdout]    |
[INFO] [stdout] 20 |    let (channelname, count) = tup;
[INFO] [stdout]    |         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_channelname`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `count`
[INFO] [stdout]   --> src/bin/concepts.rs:20:22
[INFO] [stdout]    |
[INFO] [stdout] 20 |    let (channelname, count) = tup;
[INFO] [stdout]    |                      ^^^^^ help: if this is intentional, prefix it with an underscore: `_count`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `error_codes`
[INFO] [stdout]   --> src/bin/concepts.rs:27:8
[INFO] [stdout]    |
[INFO] [stdout] 27 |    let error_codes = [10,44,55];
[INFO] [stdout]    |        ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_error_codes`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `counter` is never used
[INFO] [stdout]   --> src/bin/concepts.rs:13:9
[INFO] [stdout]    |
[INFO] [stdout] 13 |   const counter:u32 = 5000;
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `customadd` is never used
[INFO] [stdout]   --> src/bin/concepts.rs:38:4
[INFO] [stdout]    |
[INFO] [stdout] 38 | fn customadd(x:i32,y:i32){
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `controlflow` is never used
[INFO] [stdout]   --> src/bin/concepts.rs:44:4
[INFO] [stdout]    |
[INFO] [stdout] 44 | fn controlflow(){
[INFO] [stdout]    |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `countdowncalcualtor` is never used
[INFO] [stdout]   --> src/bin/concepts.rs:56:4
[INFO] [stdout]    |
[INFO] [stdout] 56 | fn countdowncalcualtor(){
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `counter` should have an upper case name
[INFO] [stdout]   --> src/bin/concepts.rs:13:9
[INFO] [stdout]    |
[INFO] [stdout] 13 |   const counter:u32 = 5000;
[INFO] [stdout]    |         ^^^^^^^ help: convert the identifier to upper case: `COUNTER`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ArrayAnalyzer` should have a snake case name
[INFO] [stdout]   --> src/bin/concepts.rs:72:4
[INFO] [stdout]    |
[INFO] [stdout] 72 | fn ArrayAnalyzer(){
[INFO] [stdout]    |    ^^^^^^^^^^^^^ help: convert the identifier to snake case: `array_analyzer`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Stdin`
[INFO] [stdout]  --> src/main.rs:2:21
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::io::{self, Stdin};
[INFO] [stdout]   |                     ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around method argument
[INFO] [stdout]  --> src/main.rs:7:55
[INFO] [stdout]   |
[INFO] [stdout] 7 |     let secret_number  = rand::thread_rng().gen_range((1), 101);
[INFO] [stdout]   |                                                       ^ ^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]   |
[INFO] [stdout] 7 -     let secret_number  = rand::thread_rng().gen_range((1), 101);
[INFO] [stdout] 7 +     let secret_number  = rand::thread_rng().gen_range(1, 101);
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.20s
[INFO] [stdout] warning: unused variable: `s2`
[INFO] [stdout]  --> src/bin/Ownership.rs:5:7
[INFO] [stdout]   |
[INFO] [stdout] 5 |   let s2=s1;
[INFO] [stdout]   |       ^^ help: if this is intentional, prefix it with an underscore: `_s2`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s4`
[INFO] [stdout]   --> src/bin/Ownership.rs:27:5
[INFO] [stdout]    |
[INFO] [stdout] 27 | let s4=&s3;
[INFO] [stdout]    |     ^^ help: if this is intentional, prefix it with an underscore: `_s4`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "e24e0fbc1d16bede257362a1f1639fabfdc1a8d8e7551feb0bf216fbc42bc366", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e24e0fbc1d16bede257362a1f1639fabfdc1a8d8e7551feb0bf216fbc42bc366", kill_on_drop: false }`
[INFO] [stdout] e24e0fbc1d16bede257362a1f1639fabfdc1a8d8e7551feb0bf216fbc42bc366
